package cn.gpnusz.oliverwiki.req;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * @author h0ss
 * @description 用于用户信息查询的请求参数封装
 * @date 2021/9/20 - 00:49
 */
public class UserQueryReq extends PageReq {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String loginName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    @Override
    public String toString() {
        return "UserQueryReq{" +
                "id=" + id +
                ", loginName='" + loginName + '\'' +
                "} " + super.toString();
    }
}
